package com.qifenqian.turbot.module.entity.request

/**
 * @author H
 * @createTime 2019/1/18 14:49
 * @description 单品折扣页面
 * @see
 * @since
 */
class DiscountDishRequest(
        var restaurantId: Int,
        var id: Int, // 1
        var startDate: String, // 2018-10-12
        var endDate: String, // 2018-12-15
        var discountDishList: List<DiscountDish>
                         ) {

    data class DiscountDish(
            var id: Int, // 2
            var dishId: Int, // 10000012
            var dishName: String, // 水煮鱼
            var discount: Int, // 6
            var isSetSize: Int, // 0
            var sizeList: List<Size>
                           ) {

        data class Size(
                var dishSizeName: String, // 小份
                var price: Int // 1500
                       )
    }
}
